package com.zan.service;

import com.zan.entity.Admin;
import com.zan.util.PageUtil;

import java.util.List;

public interface AdminService {

    boolean add(Admin admin);

    boolean update(Admin admin);

    List<Admin> getList(String admin_name, PageUtil pageUtil);

    Admin get(String admin_name, Integer admin_id);

    Admin login(String admin_name, String admin_password);

    Integer getTotal(String admin_name);
}
